<template>
  <div class="app">
    <h1>{{msg}}</h1>
    <School/>
    <Student/>
  </div>
</template>

<script>
// 引入Student组件
import Student from './components/Student'
import School from './components/School'

export default {
  components: { Student,School },
    name:'App',
    data() {
      return {
        msg:'信息展示：'
      }
    },
    
}
</script>

<style scoped>
.app{
  background-color:gray;
  padding: 3px;
}
</style>